package com.qf.house.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 房屋信息表(House)表实体类
 *
 * @author makejava
 * @since 2024-01-09 14:40:43
 */
@Data
@Accessors(chain = true)
public class House implements Serializable {
    //id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //房屋标题
    private String subject;
    //房屋封面
    private String image;
    //所属城市
    private String city;
    //价格
    private BigDecimal price;
    //所属小区
    private String xiaoqu;
    //具体的地址
    private String address;
    //几室
    private Integer jishi;
    //几厅
    private Integer jiting;
    //纬度
    private Double lat;
    //经度
    private Double lng;
    //房屋描述信息
    private String info;
    //创建时间
    private Date createTime = new Date();
    //最后修改时间
    private Date updateTime = new Date();
    //状态
    private Integer status = 0;
    //删除标识
    private Integer delFlag = 0;

}

